import java.util.Scanner;

public class Work8 {
    public static void main(String[] args) {
        System.out.println("输入10个数：");
        Scanner sc = new Scanner(System.in);
        int i;
         double a = sc.nextDouble();//先输入一个值做比较//
        double max =a;
        for(i=1;i<10;i++){
            double b = sc.nextDouble();
            if (b>max){
                max=b;
            }
        }
        System.out.println(max);
    }
}
